any — Test for non-zero matrix


\begin{rail}
Any : 'any' '(' ( Scalar \vert Matrix ) ')' ;
\end{rail}
any tests for non-zero arguments. If the argument is a scalar, the result is 0 if the argument is 0 - otherwise the result is 1. If the argument is a row or column vector, any returns a 1 if any of the elements are non-zero. If the argument is some other kind of matrix, any returns a row vector produced by performing the test on each column of the matrix in turn.

Subsections